// 颜色
$primary-color: #ffffff;
$secondary-color: #67c23a;
$background-color: #11172b;

// 字体
$font-base: 14px;
$font-page-title: 25px;
$font-card-title: 18px;

:export {
  primaryColor: $primary-color;
  backgroundColor: $background-color;
  fontBase: $font-base;
  fontPageTitle: $font-page-title;
  fontCardTitle: $font-card-title;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
}

#app {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background-color: $background-color;
  color: $primary-color;
}

.page {
  width: 100%;
  height: calc(100% - 70px - 65px);
}

.page-title {
  font-size: 25px;
  font-weight: 700;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  background: url("@/assets/images/title_bg.png") no-repeat;
  background-size: 100% 100%;
  width: 407px;
  height: 36px;
  padding-left: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  .svg-icon {
    cursor: pointer;
  }
}

// 表格样式1
.table thead {
  color: #ddeeff !important;
}
.table thead .cell{
  font-size: 18px !important;
}
.table .cell {
  font-size: 14px;
  color: #c9e5ff;
  font-weight: 400;
}

.table {
  background-color: transparent !important;
}

.table tbody tr {
  background: rgb(29, 62, 95, 0.5) !important;
  line-height: 61px;
  height: 61px;
}

.table tbody tr:hover {
  background: rgb(80, 53, 43) !important;

  .cell {
    color: #ff9d10 !important;
  }
}

.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
  background: rgb(29, 62, 95, 0.5) !important;
}

.table thead tr {
  background: rgba(6, 60, 114, 0.3) !important;
}

.table th.el-table__cell {
  background-color: transparent !important;
  border-bottom: 2px solid rgb(54, 108, 162, 0.8) !important;
  padding: 15px 0;
}

.table tbody td.el-table__cell {
  border-bottom: none !important;
}

.table .el-table__inner-wrapper:before {
  display: none;
}

.table .el-table__body {
  // -webkit-border-horizontal-spacing: 13px; // 水平间距
  -webkit-border-vertical-spacing: 13px; // 垂直间距
}

.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
  background-color: transparent !important;
}

// // 分页
.el-pagination {
  background-color: transparent !important;
  justify-content: end;
  margin-right: 10px;
}

.el-input__wrapper {
  background-color: transparent !important;
}

.el-pagination__jump {
  color: #fff !important;
}

.el-input__inner {
  color: #fff !important;
}

.el-select__wrapper {
  background-color: transparent !important;
}

.el-select__placeholder {
  color: #fff !important;
}

.el-pagination__total {
  color: #fff !important;
}

.btn-next {
  background-color: transparent !important;
}

.btn-prev {
  background-color: transparent !important;
}

.el-popper {
  background-color: transparent !important;
}

.el-popper__arrow:before {
  display: none !important;
}

.el-select-dropdown__item.is-hovering {
  background-color: transparent !important;
}
.el-form-item__label {
  color: #bbb !important;
}
.el-date-range-picker {
  background-color: rgb(17, 23, 43, 0.9) !important;
  color: #fff !important;
}
.el-date-range-picker__header-label {
  color: #fff !important;
}
.el-picker-panel__icon-btn {
  color: #fff !important;
}
.el-date-table th {
  color: #fff !important;
}
.el-date-table td.in-range .el-date-table-cell {
  background-color: #182a45 !important;
}
// 修改滚动条样式--y轴
::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 10px;
  background-color: rgba(166, 179, 189, 0.4);
}

::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  //box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.15);
  // background: #ededed;
  background: transparent;
  border-radius: 10px;
}

.svg-icon {
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
}

.problem-detail-dialog {
  background-color: #182d48 !important;
  border: 2px solid rgba(8, 72, 138, 1);
  box-shadow: inset 0px 1px 20px rgba(18, 142, 232, 0.34);
  .el-dialog__body {
    color: #fff !important;
    background-color: transparent !important;
    // border: 2px solid rgba(8, 72, 138, 1);
    // box-shadow: inset 0px 1px 20px rgba(18, 142, 232, 0.34);
  }
  .el-dialog__title {
    display: block;
    border-bottom: 2px solid rgba(8, 72, 138, 1);
    padding-bottom: 15px;
    font-size: 26px;
    color: #fff;
    font-weight: 700;
  }
  .el-dialog__close {
    color: #fff !important;
    font-size: 22px !important;
  }
}
.problem-form-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  margin-bottom: 20px;
  padding: 10px 5px;
  background-color: #11172b;
}

.problem-form-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 18px;
  background-color: rgb(38, 141, 244);
  margin-right: 10px;
}